package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_optrpt_log")
@ApiModel(value="t_sfc_optrpt_log", description="汇报修改日志")
public class SfcOptrptLog extends  Model<SfcOptrptLog> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "optId")
    @ApiModelProperty(name = "optId" , value = "汇报详情Id")
    private Long optId;

    @TableField(value = "reportNo")
    @ApiModelProperty(name = "reportNo" , value = "汇报单号")
    private String reportNo;


    @TableField(value = "TrayNo")
    @ApiModelProperty(name = "TrayNo" , value = "托号")
    private String TrayNo;


    @TableField(value = "OperpNo")
    @ApiModelProperty(name = "OperpNo" , value = "工序号")
    private Long OperpNo;


    @TableField(value = "Describtion")
    @ApiModelProperty(name = "Describtion" , value = "工序说明")
    private String Describtion;

    @TableField(value = "flot")
    @ApiModelProperty(name = "flot" , value = "批号")
    private String flot;

    @TableField(value = "QuaQty")
    @ApiModelProperty(name = "QuaQty" , value = "合格数量")
    private Double QuaQty;

    @TableField(value = "ProcessFailQty")
    @ApiModelProperty(name = "ProcessFailQty" , value = "工废数量")
    private Double ProcessFailQty;

    @TableField(value = "MaterialFailQty")
    @ApiModelProperty(name = "MaterialFailQty" , value = "料废数量")
    private Double MaterialFailQty;

    @TableField(value = "EndQty")
    @ApiModelProperty(name = "EndQty" , value = "完工数量")
    private Double EndQty;



    @TableField(value = "createUser")
    @ApiModelProperty(name = "createUser" , value = "创建人")
    private String createUser;



    @TableField(value = "createTime")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;


}
